// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  runtimeConfig: {
    secret: 'weiwei'
  },
  modules: [
    '@nuxtjs/tailwindcss',
    '@huntersofbook/naive-ui-nuxt',
    'nuxt-icon',
    '@vueuse/nuxt',
    '@sidebase/nuxt-auth',
    'nuxt-lodash'
  ],
  build: {
    transpile: ['jsonwebtoken']
  },
  typescript: {
    shim: false
  },
  auth: {
    provider: {
      type: 'local'
    }
  }
})
